package com.example.w.common.dto;

import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * category
 * @author 
 */
@Data
public class CategoryUpdateDTO implements Serializable {

    @NotNull(message = "id不能为空")
    private Long id;

    private String categoryName;

    private String desc;

    private static final long serialVersionUID = 1L;
}